package command;


import org.uc3m.ed.Factory.panel.FactoriaPanel;
import org.uc3m.ed.implementacion.Command;
import org.uc3m.ed.interfaz_grafica.ventana.PanelDibujo;
import org.uc3m.ed.tad.lista.Pila;

public class CommandCrearPila implements Command {
	

	
	@Override
	public void execute() {
		PanelDibujo panel= FactoriaPanel.metodoFactoria();
		
		panel.initPilaComandos();
		panel.setEstructura(new Pila<Integer>());
		panel.repaint();

	}

}
